﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.CodeDom;

namespace CodeDomHelper.CodeDom
{
    [Serializable()]
    public class MethodMember : CodeMemberMethod
    {

        public MethodMember()
        {

        }

        public MethodMember(string methodName)
            : base()
        {
            this.Name = methodName;
        }

        public MethodMember(string methodName, string type)
            : base()

        {
            this.Name = methodName;
            this.ReturnType = new TypeExp(type);
        }

        public MethodMember(string methodName, TypeExp type)
            : base()
        {
            this.Name = methodName;
            this.ReturnType = type;
        }

        public MethodMember(string methodName, Type type)
            : base()
        {
            this.Name = methodName;
            this.ReturnType = new TypeExp(type);
        }

    }
}
